package com.guanyong.model;

import java.util.List;

/**
 * Created by mxk on 2017/6/7.
 */
public class FuncModel implements Cloneable{
    private Integer fId;

    private String fName;

    private Integer fParentid;

    private String fDesc;

    private String fUrl;

    private String fPic;

    private Integer fShow;

    public Integer getfShow() {
        return fShow;
    }

    public void setfShow(Integer fShow) {
        this.fShow = fShow;
    }

    private List<FuncModel> children;
    public Integer getfId() {
        return fId;
    }

    public void setfId(Integer fId) {
        this.fId = fId;
    }

    public String getfName() {
        return fName;
    }

    public void setfName(String fName) {
        this.fName = fName;
    }

    public Integer getfParentid() {
        return fParentid;
    }

    public void setfParentid(Integer fParentid) {
        this.fParentid = fParentid;
    }

    public String getfDesc() {
        return fDesc;
    }

    public void setfDesc(String fDesc) {
        this.fDesc = fDesc;
    }

    public String getfUrl() {
        return fUrl;
    }

    public void setfUrl(String fUrl) {
        this.fUrl = fUrl;
    }

    public String getfPic() {
        return fPic;
    }

    public void setfPic(String fPic) {
        this.fPic = fPic;
    }

    public List<FuncModel> getChildren(){return  children;}
    public void setChildren(List<FuncModel> children){this.children=children;}
    @Override
    public Object clone() {
        FuncModel nf = null;
        try{
            nf = (FuncModel)super.clone();
        }catch(CloneNotSupportedException e) {
            e.printStackTrace();
        }
        return nf;
    }
}
